package com.hmall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取配置文件中的 hm.cart 前缀的配置
 *
 * @author Zhy
 * @version 1.0
 * @date 2025-03-20 11:06
 */
@Data
@Component
@ConfigurationProperties(prefix = "hm.cart")
public class CartProperties {

	private Integer maxAmount;

}
